﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

/// <summary>
/// 日期工具类
/// </summary>
namespace SUNRPA.CONTROLS.IMPL.util {
    public static class DateUtil {
        private static DateTime standerTime = new DateTime(1970, 1, 1, 0, 0, 0, 0);
        
        public static string GetTimeStemp() { 
            TimeSpan ts = DateTime.Now - standerTime;
            return Convert.ToInt64(ts.TotalSeconds).ToString();  
        }
    }
}
